package ar.uba.fi.taller2.jh.BStree;

public class test2 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		BSTree tree = new BSTree(4);		//arbol a probar

		System.out.println("Clave: 5844		0");
		tree.put(5844, "hola");
		//tree.printXML();
		System.out.println("Clave: 2745		1");
		tree.put(2745, "hola");
		//tree.printXML();
		System.out.println("Clave: 7468		2");
		tree.put(7468, "hola");
		//tree.printXML();
		System.out.println("Clave: 4615		3");
		tree.put(4615, "hola");
		//tree.printXML();
		System.out.println("Clave: 2182		4");
		tree.put(2182, "hola");
		//tree.printXML();
		System.out.println("Clave: 8081		5");
		tree.put(8081, "hola");
		//tree.printXML();
		System.out.println("Clave: 5912		6");
		tree.put(5912, "hola");
		//tree.printXML();
		System.out.println("Clave: 2194		7");
		tree.put(2194, "hola");
		//tree.printXML();
		System.out.println("Clave: 2053		8");
		tree.put(2053, "hola");
		//tree.printXML();
		System.out.println("Clave: 1479		9");
		tree.put(1479, "hola");
		//tree.printXML();
		System.out.println("Clave: 9790		10");
		tree.put(9790, "hola");
		//tree.printXML();
		System.out.println("Clave: 7672		11");
		tree.put(7672, "hola");
		//tree.printXML();
/*
		//tree.printXML();
		System.out.println("Clave: 0		12");
		tree.put(0, "hola");
		//tree.printXML();
		System.out.println("Clave: 1		13");
		tree.put(1, "hola");
		//tree.printXML();
		System.out.println("Clave: 2		14");
		tree.put(2, "hola");
		//tree.printXML();
		System.out.println("Clave: 3		15");
		tree.put(3, "hola");
		//tree.printXML();
		System.out.println("Clave: 4		16");
		tree.put(4, "hola");
		//tree.printXML();
		System.out.println("Clave: 5		17");
		tree.put(5, "hola");
		//tree.printXML();
		System.out.println("Clave: 6		18");
		tree.put(6, "hola");
		//tree.printXML();
		System.out.println("Clave: 7		19");
		tree.put(7, "hola");
		//tree.printXML();
		System.out.println("Clave: 8		20");
		tree.put(8, "hola");
		//tree.printXML();
		System.out.println("Clave: 9		21");
		tree.put(9, "hola");
*/
		
		System.out.println("Clave: 7672		0");
		tree.remove(7672);
		//tree.printXML();
		System.out.println("Clave: 9790		1");
		tree.remove(9790);
		//tree.printXML();
		System.out.println("Clave: 1479		2");
		tree.remove(1479);
		//tree.printXML();
		System.out.println("Clave: 2053		3");
		tree.remove(2053);
		//tree.printXML();
		System.out.println("Clave: 2194		4");
		tree.remove(2194);
		//tree.printXML();
		System.out.println("Clave: 5912		5");
		tree.remove(5912);
		//tree.printXML();
		System.out.println("Clave: 8081		6");
		tree.remove(8081);
		//tree.printXML();
	}
}